//
//  WLNavigationScrollModel.m
//  LookNovel
//
//  Created by chuangqi on 2021/3/10.
//  Copyright © 2021 cq Co.,ltd. All rights reserved.
//

#import "WLNavigationScrollModel.h"
#import "BasePageViewController.h"
#import "NSString+Size.h"

@implementation WLNavigationScrollModel
-(Class)viewClass{
    if (!_viewClass){
        _viewClass = BasePageCollectionViewCell.class;
    }
    return _viewClass;
}
-(id)data{
    if (!_data){
        _data = @"";
    }
    return _data;
}
-(CGSize)getCellSizeHeight:(CGFloat)height{
    CGFloat w = [self.title widthWithFont:[UIFont systemFontOfSize:17 weight:UIFontWeightMedium]
          constrainedToHeight:height];
    return CGSizeMake(w, height);
}
@end
